package org.example.abstract_factory;

/**
 * @author Zhang Yu
 * @description: TODO
 * @date 2024/5/17 9:23
 */
public class FastFactory implements AbstractFactory{
    public HtmlDocument createHtml(String md) {
        return new FastHtmlDocument(md);
    }

    public WordDocument createWord(String md) {
        return new FastWordDocument(md);
    }
}
